#!/usr/bin/env node

const log = console.log;

log('process id',process.pid);
process.stdin.resume(); //让程序一直等待输入信息
process.on('SIGINT',()=>{
    console.log('press ctrl c goodbye~');
    process.exit(0);
});
process.on('SIGTSTP',()=>{ 
    console.log('press ctrl z stop running');
    //process.exit(0);
});
 

